package ooday04.practice02;

public class Doctor extends Person implements Hobby{
    Doctor(String name,int age ){
        super(name ,age );
    }

    @Override
    void skill() {
        System.out.println(name+"我是医生,我的能力是治疗");
    }

    @Override
    public void aihao() {
        System.out.println("我的爱好是救死扶伤");
    }
}
